#!/usr/bin/env python
 
import dbus
import dbus.decorators
import dbus.glib
#aimport gobject
from gi.repository import GObject
import time
 
#bus = dbus.SessionBus()

bus = dbus.SystemBus() 

def catchall_hello_signals_handler(hello_string):
    print(hello_string)
    
bus.add_signal_receiver(catchall_hello_signals_handler,dbus_interface = "test.method.caller", signal_name = "Test")
 
loop = GObject.MainLoop()
loop.run()
#while 1 :
#	time.sleep(100)
